<?php 
include "resources/header.php";
include "resources/non-search-pages.php";
//Begin Content
?>
<div id="news-feed-container">
	<div id="news-feed-title-container">
		<span id="news-feed-title"><h3>Travel News</h3></span>
	</div>
	<div id="news-feed-list">
		<?php
		include('resources/read_xml.php');
		echo "<div id='feeds-container'>";
			echo "<div id= 'featured-feed-container'>";
				echo "<div id='featured-feed-img'>";
					echo "<a href='" . $feeds[0]["url"] . "' target='_blank'><img src='" . $feeds[0]["image"] . "' alt='" . $feeds[0]["alt"] . "'></a>";
				echo "</div>";
				echo "<div id='featured-feed-title'>";
					echo "<a href='" . $feeds[0]["url"] . "' target='_blank'>" . $feeds[0]["title"] . "</a>";
				echo "</div>";
				echo "<div id='featured-feed-desc'>";
					echo $feeds[0]["alt"];
					echo "<br>";
					echo "<span id='feed-info' class='tiny-nl-info'>" . $feeds[0]["author"] . " " . $feeds[0]["date"] . "</span>";
				echo "</div>";
			echo "</div>";
			echo "<div id='other-feed-container'>";
				echo "<ul>";
					for($i = 1; $i < 4; $i++) {
						echo "<li><a href='" . $feeds[$i]["url"] . "' target='_blank'>" . $feeds[$i]["title"] . "</a></li>";
					}
				echo "</ul>";
			echo "</div>";
			echo "<div id='clear'>";
		echo "</div>";
		?>
	</div>
</div>
<?php
//End Content
include "resources/footer.php";
?>